package com.annotation.demo;


import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import org.junit.*;

import com.annotation.demo.AnnotationParser;
import com.annotation.demo.AnnotationUsageObject;


public class AnnotationTest {

	@Test
	public void annotationTest(){
		
		AnnotationUsageObject ao1 = new AnnotationUsageObject("ao1->\n");
		AnnotationParser.parseAnnotationMethod(ao1, AnnotationUsageObject.class);
		AnnotationParser.parseAnnotationField(ao1, AnnotationUsageObject.class);
		System.out.println(ao1.annotationNote);
		
		AnnotationUsageObject ao2 = new AnnotationUsageObject("ao2->\n");
		AnnotationParser.parseAnnotationMethod(ao2, AnnotationUsageObject.class);
		AnnotationParser.parseAnnotationField(ao2, AnnotationUsageObject.class);
		System.out.println(ao2.annotationNote);
	}
	

}
